package org.czkt.service.impl;

import org.czkt.mapper.AppCategoryMapper;
import org.czkt.pojo.AppCategory;
import org.czkt.service.AppCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class AppCategoryServiceImpl implements AppCategoryService {
    @Autowired
    AppCategoryMapper appCategoryMapper;

    @Override
    public List<AppCategory> getListByParentId(Integer parentId) {
        return appCategoryMapper.getListByParentId(parentId);
    }

    @Override
    public List<AppCategory> getListByParentIds(List<Long> parentIds) {
        return appCategoryMapper.getListByParentIds(parentIds);
    }
}
